Skip to content

Conversation

@muratbinerbay
Copy link
Contributor

@muratbinerbay muratbinerbay commented Sep 30, 2025

Pimcore 12.2.1 with admin-ui-classic-bundle 2.2.0 fails to check if an element is locked because the route pimcore_admin_element_islocked was never defined in ElementController:

image

As Symfony Annotation is deprecated the route definition for lockElementAction does not work

Related to #724

@muratbinerbay
Copy link
Contributor Author

Had to call activeTab.initialConfig.document.reload() / activeTab.initialConfig.object.reload() because the consecutive calls for close & open was leading to this error:

Screenshot 2025-09-30 at 1 45 06 pm

@kingjia90 kingjia90 added this to the 2.2.1 milestone Oct 8, 2025
@kingjia90 kingjia90 self-assigned this Oct 8, 2025
Copy link
Contributor

@kingjia90 kingjia90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR!

Indeed it wasn't working properly

@sonarqubecloud
Copy link

@kingjia90 kingjia90 merged commit e55ae1f into pimcore:2.x Oct 10, 2025
12 checks passed
@kingjia90 kingjia90 added the Bug label Oct 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2025
@muratbinerbay muratbinerbay deleted the fix-is-locked-bug branch October 13, 2025 07:45
@kingjia90 kingjia90 modified the milestones: 2.2.1, 2.2.2 Nov 4, 2025
@kingjia90
Copy link
Contributor

Cherry picked in 2.2 by 162ad47

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants